let express = require('express');
let CommentAction = require('../../action/commentAction');
let router = express.Router();


router.post('/create', function (req, res) {
    CommentAction.create(req.body).then(res.res, res.rej);
});
router.post('/delete', function (req, res) {
    CommentAction.deleteComment(req.body).then(res.res, res.rej);
});
module.exports = router;
